<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页<{$blogtitle}></title>
<meta name="robots" content="follow,index" />
<link rel="stylesheet" type="text/css" href="<{$smarty.const.ROOT_WEB}>styles/default/styles.css" />
<link rel="alternate" type="application/rss+xml" title="" href="" />
<script type="text/javascript" language="javascript" src="<{$smarty.const.ROOT_WEB}>Scripts/common.js"></script>
<script type="text/javascript" language="javascript" src="<{$smarty.const.ROOT_WEB}>Scripts/messageform.js"></script>
<{$ajaxscript}>
</head>
<!--CSS说明，用BR换行与用LI换行的区别：用BR时，换行的前面没有相应的图标，而用LI换时就有，这是由于LI自身的物性带来的-->
<body>
<div id="wrapper">
<div id="innerWrapper">
<!--如果当前网站关闭了,则显示关闭信息-->
<{if $webstate==0&&$adminpage!=1}>
<div style="border: solid 1px #CC0000; text-align: center; background: #FFEEDD;color: #990000"><{$weberror}></div>
<!--半闭网站-->
<{else}>
<div id="header">
<div id="innerHeader">
  <div id="blogLogo"><img src="<{$bloglogo}>" id="logo" alt="Logo" /></div>
  <div class="blog-header">
  <!--网站标题及连接地址-->
    <h1 class="blog-title"><a href="<{if $blogurl}><{$blogurl}><{else}>#<{/if}>"><{$blogtitle}></a></h1>
    <div class="blog-desc"><{$blogmemo}></div>
  </div>
  <div id="menu">
  <!--网站标题-->
    <ul>
    <li><a href="/<{$virdir}>index.php">首页</a></li>
    <li><a href="/<{$virdir}>index.php?selected=true">推荐文章</a></li>
    <li><a href="/<{$virdir}>gbook.php">留言版</a></li>
    <li><a href="javascript:showHideSidebar()">隐藏左边栏</a></li>
    <!--如果用户已登录则显示用户登录信息-->
    <{if $islogin!=1}>
    <li id="dologin"><a href="javascript:showLogin()">登录</a></li>
    <{/if}>
    </ul>
  </div>
</div>
</div>
<{/if}>